package com.eagle.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 付款清单表
 * </p>
 *
 * @author zhaojinpeng
 * @since 2017-04-20
 */
@TableName("payment_list")
public class PaymentList extends Model<PaymentList> {

    private static final long serialVersionUID = 1L;

    /**
     * 付款单标识
     */
	@TableId(value="PAYMENT_LIST_ID", type= IdType.AUTO)
	private Long paymentListId;
    /**
     * 付款单号
     */
	@TableField("PAYMENT_LIST_SN")
	private String paymentListSn;
    /**
     * 供应商标识
     */
	@TableField("SELLER_ID")
	private Long sellerId;
    /**
     * 供应商名称
     */
	@TableField("SELLER_NAME")
	private String sellerName;
    /**
     * 采购商标识
     */
	@TableField("BUYER_ID")
	private Long buyerId;
    /**
     * 采购商名称
     */
	@TableField("BUYER_NAME")
	private String buyerName;
    /**
     * 结算商标识
     */
	@TableField("ACCOUNTS_SETTLOR_ID")
	private Long accountsSettlorId;
    /**
     * 结算商名称
     */
	@TableField("ACCOUNTS_SETTLOR")
	private String accountsSettlor;
    /**
     * 结算方式
     */
	@TableField("PAYMENT_PLATFORM")
	private Integer paymentPlatform;
    /**
     * 付款总额
     */
	@TableField("PAYMENT_TOTAL_NUM")
	private BigDecimal paymentTotalNum;
    /**
     * 结算总额
     */
	@TableField("CLEARING_TOTAL_NUM")
	private BigDecimal clearingTotalNum;
    /**
     * 已结算金额
     */
	@TableField("CLEARING_ALREADY_SUM")
	private BigDecimal clearingAlreadySum;
    /**
     * 支付状态
     */
	@TableField("PAYMENT_STATUS")
	private Integer paymentStatus;
    /**
     * 支付时间
     */
	@TableField("PAYMENT_TIME")
	private Date paymentTime;
    /**
     * 审批状态
     */
	@TableField("APPROVAL_STATUS")
	private Integer approvalStatus;
    /**
     * 审批人
     */
	@TableField("APPROVAL_PERSON")
	private Long approvalPerson;
    /**
     * 审批人名称
     */
	@TableField("APPROVAL_NAME")
	private String approvalName;
    /**
     * 审批人身份类别
     */
	@TableField("IDENTITY_TYPE")
	private Integer identityType;
    /**
     * 审批时间
     */
	@TableField("APPROVAL_TIME")
	private Date approvalTime;
    /**
     * 驳回理由
     */
	@TableField("REJECT_REASON")
	private String rejectReason;
    /**
     * 提交时间
     */
	@TableField("COMMIT_TIME")
	private Date commitTime;
    /**
     * 修改时间
     */
	@TableField("UPDATE_TIME")
	private Date updateTime;
    /**
     * 结算标志
     */
	@TableField("CLEARING_FLAG")
	private Integer clearingFlag;


	public Long getPaymentListId() {
		return paymentListId;
	}

	public void setPaymentListId(Long paymentListId) {
		this.paymentListId = paymentListId;
	}

	public String getPaymentListSn() {
		return paymentListSn;
	}

	public void setPaymentListSn(String paymentListSn) {
		this.paymentListSn = paymentListSn;
	}

	public Long getSellerId() {
		return sellerId;
	}

	public void setSellerId(Long sellerId) {
		this.sellerId = sellerId;
	}

	public String getSellerName() {
		return sellerName;
	}

	public void setSellerName(String sellerName) {
		this.sellerName = sellerName;
	}

	public Long getBuyerId() {
		return buyerId;
	}

	public void setBuyerId(Long buyerId) {
		this.buyerId = buyerId;
	}

	public String getBuyerName() {
		return buyerName;
	}

	public void setBuyerName(String buyerName) {
		this.buyerName = buyerName;
	}

	public Long getAccountsSettlorId() {
		return accountsSettlorId;
	}

	public void setAccountsSettlorId(Long accountsSettlorId) {
		this.accountsSettlorId = accountsSettlorId;
	}

	public String getAccountsSettlor() {
		return accountsSettlor;
	}

	public void setAccountsSettlor(String accountsSettlor) {
		this.accountsSettlor = accountsSettlor;
	}

	public Integer getPaymentPlatform() {
		return paymentPlatform;
	}

	public void setPaymentPlatform(Integer paymentPlatform) {
		this.paymentPlatform = paymentPlatform;
	}

	public BigDecimal getPaymentTotalNum() {
		return paymentTotalNum;
	}

	public void setPaymentTotalNum(BigDecimal paymentTotalNum) {
		this.paymentTotalNum = paymentTotalNum;
	}

	public BigDecimal getClearingTotalNum() {
		return clearingTotalNum;
	}

	public void setClearingTotalNum(BigDecimal clearingTotalNum) {
		this.clearingTotalNum = clearingTotalNum;
	}

	public BigDecimal getClearingAlreadySum() {
		return clearingAlreadySum;
	}

	public void setClearingAlreadySum(BigDecimal clearingAlreadySum) {
		this.clearingAlreadySum = clearingAlreadySum;
	}

	public Integer getPaymentStatus() {
		return paymentStatus;
	}

	public void setPaymentStatus(Integer paymentStatus) {
		this.paymentStatus = paymentStatus;
	}

	public Date getPaymentTime() {
		return paymentTime;
	}

	public void setPaymentTime(Date paymentTime) {
		this.paymentTime = paymentTime;
	}

	public Integer getApprovalStatus() {
		return approvalStatus;
	}

	public void setApprovalStatus(Integer approvalStatus) {
		this.approvalStatus = approvalStatus;
	}

	public Long getApprovalPerson() {
		return approvalPerson;
	}

	public void setApprovalPerson(Long approvalPerson) {
		this.approvalPerson = approvalPerson;
	}

	public String getApprovalName() {
		return approvalName;
	}

	public void setApprovalName(String approvalName) {
		this.approvalName = approvalName;
	}

	public Integer getIdentityType() {
		return identityType;
	}

	public void setIdentityType(Integer identityType) {
		this.identityType = identityType;
	}

	public Date getApprovalTime() {
		return approvalTime;
	}

	public void setApprovalTime(Date approvalTime) {
		this.approvalTime = approvalTime;
	}

	public String getRejectReason() {
		return rejectReason;
	}

	public void setRejectReason(String rejectReason) {
		this.rejectReason = rejectReason;
	}

	public Date getCommitTime() {
		return commitTime;
	}

	public void setCommitTime(Date commitTime) {
		this.commitTime = commitTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getClearingFlag() {
		return clearingFlag;
	}

	public void setClearingFlag(Integer clearingFlag) {
		this.clearingFlag = clearingFlag;
	}

	public static final String PAYMENT_LIST_ID = "PAYMENT_LIST_ID";

	public static final String PAYMENT_LIST_SN = "PAYMENT_LIST_SN";

	public static final String SELLER_ID = "SELLER_ID";

	public static final String SELLER_NAME = "SELLER_NAME";

	public static final String BUYER_ID = "BUYER_ID";

	public static final String BUYER_NAME = "BUYER_NAME";

	public static final String ACCOUNTS_SETTLOR_ID = "ACCOUNTS_SETTLOR_ID";

	public static final String ACCOUNTS_SETTLOR = "ACCOUNTS_SETTLOR";

	public static final String PAYMENT_PLATFORM = "PAYMENT_PLATFORM";

	public static final String PAYMENT_TOTAL_NUM = "PAYMENT_TOTAL_NUM";

	public static final String CLEARING_TOTAL_NUM = "CLEARING_TOTAL_NUM";

	public static final String CLEARING_ALREADY_SUM = "CLEARING_ALREADY_SUM";

	public static final String PAYMENT_STATUS = "PAYMENT_STATUS";

	public static final String PAYMENT_TIME = "PAYMENT_TIME";

	public static final String APPROVAL_STATUS = "APPROVAL_STATUS";

	public static final String APPROVAL_PERSON = "APPROVAL_PERSON";

	public static final String APPROVAL_NAME = "APPROVAL_NAME";

	public static final String IDENTITY_TYPE = "IDENTITY_TYPE";

	public static final String APPROVAL_TIME = "APPROVAL_TIME";

	public static final String REJECT_REASON = "REJECT_REASON";

	public static final String COMMIT_TIME = "COMMIT_TIME";

	public static final String UPDATE_TIME = "UPDATE_TIME";

	public static final String CLEARING_FLAG = "CLEARING_FLAG";

	@Override
	protected Serializable pkVal() {
		return this.paymentListId;
	}

	@Override
	public String toString() {
		return "PaymentList{" +
				"paymentListId=" + paymentListId +
				", paymentListSn='" + paymentListSn + '\'' +
				", sellerId=" + sellerId +
				", sellerName='" + sellerName + '\'' +
				", buyerId=" + buyerId +
				", buyerName='" + buyerName + '\'' +
				", accountsSettlorId=" + accountsSettlorId +
				", accountsSettlor='" + accountsSettlor + '\'' +
				", paymentPlatform=" + paymentPlatform +
				", paymentTotalNum=" + paymentTotalNum +
				", clearingTotalNum=" + clearingTotalNum +
				", clearingAlreadySum=" + clearingAlreadySum +
				", paymentStatus=" + paymentStatus +
				", paymentTime=" + paymentTime +
				", approvalStatus=" + approvalStatus +
				", approvalPerson=" + approvalPerson +
				", approvalName='" + approvalName + '\'' +
				", identityType=" + identityType +
				", approvalTime=" + approvalTime +
				", rejectReason='" + rejectReason + '\'' +
				", commitTime=" + commitTime +
				", updateTime=" + updateTime +
				", clearingFlag=" + clearingFlag +
				'}';
	}
}
